﻿using System;
using System.Linq;

namespace DoveSiButta.Models {

    public interface IBoxRepository {

        IQueryable<Box> FindAllBoxes();
        IQueryable<Box> FindByLocation(float latitude, float longitude);
        IQueryable<Box> FindUpcomingEvents();
        IQueryable<Box> FindBoxesByText(string q);

        Box GetBox(int id);

        void Add(Box dinner);
        void Delete(Box dinner);
        
        void Save();
    }
}
